<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main" />
    <title>${teamInstance.name} members</title>
  </head>
  <body>
    <div class="nav">
      <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
      <span class="menuButton"><g:link class="list" action="list">Team List</g:link></span>
      <span class="menuButton">
	<g:link class="create" action="addMembers" id="${teamInstance.id}">
	  Add person to ${teamInstance.name}
	</g:link>
      </span>
    </div>
    <div class="body">
      <h1>${teamInstance.name} members</h1>

      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>

      <g:render template="/personList" />

      <div class="paginateButtons">
        <g:paginate total="${personInstanceTotal}" />
      </div>
    </div>
  </body>
</html>
